DioDocs for PDF
GetBool(IPdfDictHolder,String,Nullable<Boolean>) メソッド

GrapeCity.Documents.Pdf アセンブリ > GrapeCity.Documents.Pdf.Spec 名前空間 > IPdfDictHolderExt クラス > GetBool メソッド : GetBool(IPdfDictHolder,String,Nullable<Boolean>) メソッド
現在のPDFの辞書保有者。
取得する値のキー。
デフォルト値。
指定されたキーに関連付けられたブール値を取得します。

値が存在しないか、ブール値に変換できない場合は、defValueを取得します。

値をブール値に変換できない場合、GrapeCity.Documents.Pdf.GcPdfDocument.ParserLogに警告を追加します。
シンタックス
'宣言
 
Public Overloads Shared Function GetBool( _
   ByVal pdh As IPdfDictHolder, _
   ByVal key As System.String, _
   ByVal defValue As System.Nullable(Of Boolean) _
) As System.Nullable(Of Boolean)
public static System.Nullable<bool> GetBool( 
   IPdfDictHolder pdh,
   System.string key,
   System.Nullable<bool> defValue
)

パラメータ

pdh
現在のPDFの辞書保有者。
key
取得する値のキー。
defValue
デフォルト値。

戻り値の型

指定されたキーに関連付けられた値。
参照

IPdfDictHolderExt クラス
IPdfDictHolderExt メンバ
オーバーロード一覧